package com.hqyj.pojo;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

/**
 * (Log)实体类
 *
 * @author makejava
 * @since 2021-08-12 09:34:48
 */
public class Log implements Serializable {
    private static final long serialVersionUID = 629499014901459489L;

    private int logId;

    private int userId;

    private String modelName;

    private String operate;

    private String time;

    private Goods goods;
    private User users;

    public Log() {
    }

    public Log(int userId, String modelName, String operate) {
        this.userId = userId;
        this.modelName = modelName;
        this.operate = operate;
    }

    public Log(Integer logId, Integer userId, String modelName, String operate, String time) {
        this.logId = logId;
        this.userId = userId;
        this.modelName = modelName;
        this.operate = operate;
        this.time = time;
    }

    public Log(int logId, int userId, String modelName, String operate, String time, Goods goods, User users) {
        this.logId = logId;
        this.userId = userId;
        this.modelName = modelName;
        this.operate = operate;
        this.time = time;
        this.goods = goods;
        this.users = users;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getLogId() {
        return logId;
    }

    public void setLogId(int logId) {
        this.logId = logId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public User getUsers() {
        return users;
    }

    public void setUsers(User users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "Log{" +
                "logId=" + logId +
                ", userId=" + userId +
                ", modelName='" + modelName + '\'' +
                ", operate='" + operate + '\'' +
                ", time='" + time + '\'' +
                ", goods=" + goods +
                ", users=" + users +
                '}';
    }
}
